home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
033a
/
zip_17g_.zip
/
ZIPPY.DOC
next >
Wrap
Text File
|
1991-09-30
|
11KB
|
241 lines
╓────────────────╖
║ Program: ZIPPY ║
║ Version: 1.7g ║
╙────────────────╜
ZIPPY Zip Date Scanner by Paul McGinness
The idea behind ZIPPY is to read the most recent change date INSIDE
a ZIPFILE and clearly mark that date in the file desciption text. This
saves your users from LOTS of unwanted downloads of old releases and helps
you, the sysop, keep tabs on old files. ZIPPY will NEVER update the DOS
Date Stamp or File description Date stamp.
Zippy turns a listing file from this:
╔═════════════════════╤════════════════╤═════════════════════════════════════╗
║ Main Board (0) │ Directory (41)│ Main Board Upload Directory ║
║ Filename │ Size │ Date │ Description ║
╙────────────┴────────┴────────┴─────────────────────────────────────────────╜
BOYAN51.ZIP 184848 06-02-91 Boyan Communications Version 5.0 1 of 2 Many
| New Features - The Best !
THELIST.ZIP 65916 06-02-91 TheList National BBS List for June 1, 1991
| Uploaded by: Stephen Hwang.
LABELS.ZIP 12265 06-02-91 Box Labelling.
To This:
╔═════════════════════╤════════════════╤═════════════════════════════════════╗
║ Main Board (0) │ Directory (41)│ Main Board Upload Directory ║
║ Filename │ Size │ Date │ Description ║
╙────────────┴────────┴────────┴─────────────────────────────────────────────╜
BOYAN51.ZIP 184848 06-02-91 Boyan Communications Version 5.0 1 of 2 Many
| New Features - The Best ! (Last Revised:
| 11/11/90)
THELIST.ZIP 65916 06-02-91 TheList National BBS List for June 1, 1991
| Uploaded by: Stephen Hwang. (Last Revised:
| 05/28/91)
LABELS.ZIP 12265 06-02-91 Box Labelling. (Last Revised: 01/23/91)
Or This:
╔═════════════════════╤════════════════╤═════════════════════════════════════╗
║ Main Board (0) │ Directory (41)│ Main Board Upload Directory ║
║ Filename │ Size │ Date │ Description ║
╙────────────┴────────┴────────┴─────────────────────────────────────────────╜
BOYAN51.ZIP 184848 06-02-91 Boyan Communications Version 5.0 1 of 2 Many
| New Features - The Best !
| (Last Revised: 11/11/90)
THELIST.ZIP 65916 06-02-91 TheList National BBS List for June 1, 1991
| Uploaded by: Stephen Hwang.
| (Last Revised: 05/28/91)
LABELS.ZIP 12265 06-02-91 Box Labelling.
| (Last Revised: 01/23/91)
-----------------------------------------------------------------------
What happens when ZIPPY runs:
1) Zippy takes the description file and renames it with an extention
of 001. If another .001 file with the same name is found, then it
uses .002 or .003 etc. (up to a total of 999)
2) Zippy creates (or appends) to an error log with the same filename
as the description file but an extention of .ERR.
3) Zippy counts all the files in the target directory and displays the
number to you.
4) Zippy reads the description file and searches the directory for
its match. If found, Zippy checks the description for it's date
stamp. If no stamp is found Zippy reads the ZIP file's internal
directory for the last revision date an adds the date stamp to the
description file.
5) If the file can't be found, opened or found to be corrupted in any
way then the error log will be updated with that information as well
as the filename of the problem ZIPfile. The new description file
WILL NOT contain the description of a corrupted or missing file!
Please use the /O (Override) function switch to prevent this from
occuring if this is a problem to your setup.
6) Zippy continues on with the above until the new directory description
file is complete.
7) +++ NEW +++ Zippy creates or appends to a file called ZIPPY.RUN to
keep a log of all final parameters of the run. This file is located
in the same directory that ZIPPY was run FROM.
+++ NOTES +++
A) Only ZIP files are date stamped.
B) Zippy will not delete a problem ZIP file but will delete it's entry in
the description file.
C) Zippy need be run only once on all directories EXCEPT current uploads.
Add Zippy to your EVENT sequence to take care of the upload areas.
D) Do not delete the .00x backup description files UNTIL you have checked
the new ones first.
E) Use the /O option whenever you suspect that files might be missing. As
long as this option is in effect you won't lose any descriptions due
to missing files.
-----------------------------------------------------------------------
Syntax: ZIPPY [file] [path] [header size] {Switches}
eg: ZIPPY dir00 d:\uploads 5 /n
Where:
FILE: Path/name of ASCII directory description file.
PATH: Directory where the files can be found.
SIZE: Number of lines in FILE to be skipped before processing so
your header won't be ruined. If your 1st description file
starts on line 8 then use a 7 as a header size.
SWITCHES:
/N : Create a NEWLINE for the date stamp no matter what length the
description is.
/F : Force a Re-read of the ZIP file for Dates even if a stamp was
found.
/U : MUST be used if you are running the 'Uploaded by:' program.
This switch makes sure that the 'Uploaded by:' line REMAINS
on it's own unique line. BTW: The /U switch forces ZIPPY
to use the /N option as well!
/S : **** SPITFIRE MODE ****. This switch changes the continuation
character from a '|' in column 32 to a ',' in column 18 for
Spitfire continuation.
+++ New Switches for Version 1.7G +++
/Q : Quiet Mode. No BEEPING when errors are found. All errors are
handled the same way but without the sound effects.
/O : OVERRIDE mode or OFFLINE mode. Be sure to use this switch when
you don't want to delete descriptions of ZIP files that weren't
found. This is ideal for OFFLINE file checking (I don't know
why you'd want to run ZIPPY against files that don't exist but
who am I to argue).
-----------------------------------------------------------------------
The Screen
╔═════════════════════════════════════════════════════════════════════════════╗
║ ZIPPY 1.x: Zipfile Directory Date Stamping System ║
║ CopyRight 1991 by Paul McGinness ║
║ ║
║(1) Input Directory File : dir55 ║
║(2) File Location Directory: c:\newfiles\hold\ ║
║ ║
║(3) # Files in Directory : xxxx (7) # Files Processed: xxxx ║
║ ║
║(4) # Zip Files: xxxx (8) # Files Not Found: xxxx ║
║(5) # Non-Zip : xxxx (9) # Files Corrupted: xxxx ║
║ ║
║(6) # New Dates: xxxx (10) # Already Dated : xxxx ║
║ ║
║ (11) Current Filename: xxxxxxxxxxxx ║
║ (12) Options in Effect: /x /y /z ║
╚═════════════════════════════════════════════════════════════════════════════╝
Fields:
(1) : Name of ASCII file containing file definitions.
(2) : Disk directory where the files from (1) will be found.
(3) : Total number of files in (2). This number is NOT dependent on
the definition file (1).
(4) : As the program runs, this field is updated when a .ZIP is located
in (1) and (2).
(5) : Same as above BUT with NON-ZIP extentions.
(6) : Number of files that needed to be stamped.
(7) : Number of files read from (1).
(8) : Number of files in (1) not found in (2). The description is
NOT copied to the new definition file. The error file is updated
in this case.
(9) : Number of ZIP files with structural problems. See the error file
for filenames and problem comments.
(10) : Number of files either already stamped OR not in ZIP format.
(11) : The file being processed now..
(12) : Options in effect during this job run.
-----------------------------------------------------------------------
Reading the ZIPPY.RUN file:
Fields Description
................................................-
Run Date
Time : When the ZIPPY command was involked.
Bkup : Extention used for the backup file.
Filename : Name of Directory Description File.
Stamp : Number of files that were newly stamped.
Bypass : Number of files that had been stamped previously.
Read : Total number of files found in the description file.
Missing : Number of listed files that weren't found.
Zipped : Number of files read that had .ZIP extentions.
Nonzip : Number of files read that didn't have .ZIP ententions.
Corrupt : Total corrupted files. They are logged in the .ERR logfile.
-----------------------------------------------------------------------
THIS SOFTWARE IS NOT FOR SALE!!!
That's correct, you can use it without a registration fee. If you want
to send a donation to the cause then GREAT.
Mail to:
Paul McGinness
51 White Oak Street
New Rochelle, NY, 10801
If you don't want to send money then at least let me know that you are
using ZIPPY and what you think of it! I can be reached at ACC BBS at
914-636-1455.
Also on RIME via the COMMON, BBSDOORS or SYSOP conferences. If you
like ZIPPY then try my DOOR programs for PCBoard. They are GUTS!, Time-Out
Trivia and The ULTIMATE BBS Word Search.
Thanks and let's hear from you SYSOPS!